Added the update of the UI buttons to reflect the OAuth status.