I think it would be worth a global function named greekSMSHack() to compute this condition.  I think that is better than having the input mode and keyboard name hardcoded in multple places in this file.