Adding the get pause state method