Prevent nullpointerexception for other profile and some Kitkat issue with registration sms intent