How to set the RTC DS1307 in circuit?

  while (SetClockButtonState == 0)

I think you need to actually read the state of the button... In fact, I know that you do.

while(digitalRead(SetClockButton) == LOW)
{
   // Do something
}