RTC acting strange

Have an interactive interface with lcd and buttons so you can change time without recompiling code. I have an alarm code you can use as reference though.