added push button pressed simulation.