Added gsm state and wifi state