Fixed phone state listener cast errors