Change Detection-Based Procedures for Piecewise Stationary MABs: A Modular Approach