Fix the force close error occurred after authentication is completed