added time selection buttons and callback