Fix the GSM off issue and implement a simple workaround for the simcard logic issue.