Hide the restart button where needed.