Adding button start/stop/pause functionality