added timer initialization and button initialization
added timer initialization and button initialization