change setalarm UI & fix bugs