StringIndexOutOfBoundsException on setNewPassword #13 + #14

1. StringIndexOutOfBoundsException on setNewPassword #13
2. UI: focus lost on all forms #14