Create time struct, state, buttons