Clock works as intended, some of the changes follow:

Edited alarm UI with an if statement
Changed some CSS
Added some new classes