Hides "resume" button when necessary.