Visibility icon in password field is toggled according to the visibility state; better touch detection of visibility and refresh buttons