Added enum for state running/paused & functionality to pause button