remove the method main from Authenticator2
added new event for the update button 
ticket 22887094080658/22965122318869