toggle for pause properly added and buttons implemented