Made the play and pause switch.