Exploiting History Data for Nonstationary Multi-armed Bandit