changed time to hour and minute on alarm