* Refactored * Fixed bugs with FCM data * Added more log messages * Rewritten log messages to easier locate problems