created setNextAlarmTime() function in AlarmScreen.java to improve code readiblity