Fix problems:
1. Application crashes while inputting wrong username or
password;[tested]
2. Application crashes while switching screen resolution to
QCIF.[untested]

Extened info: CIF = 352×288; QCIF = 176x144