Fixed cancel button not working after DB login, as well as refreshing directory after DB web login.