MP1-2467 : Code formatting
MP1-2467 : Minor cleanup
MP1-2467 : Fixed resource leak
MP1-2467 : Fixed BUG When typing a password with the virtual keyboard the SMS style is disabled