Trying to solve button pressed in pause