Toggle button depending on viewer to be used for reload. Fix error
messages in console if button has been removed.