Working alarm clock with a lot of bugs

BUGS:
-You can set 10 alarms, but if you set more than 10 the system crashes.
-Once the alarm goes off, if you click the dismiss button, the system
crashes.
-The program won’t save any alarm if you close the app since there is
no database to store the alarm items
-You can’t DELETE alarms
-If the alarm goes off while the phone is locked, the phone will make
sound for 0.1 second and then the system crashes
IF YOU CAN FIND MORE PLEASE LET ME KNOW
I SPENT SO MUCH TIME WORKING ON IT