Changed imeOptions and Labels

Also condensed some code and removed superfluousness.