I will comment essential lines for your understanding.
I will provide you the hardware wiring diagram of your project also.
DS 1307 Real time clock IC,
LED patterns ,
Push button and push button toggle applications,
Seven segment driving applications,