Listen to up and select buttons and set the times.