#3: fixed a bug when buttons were still visible even with long pasword