Phone freezes, crashes and restarts when charger connected