Application crashing when closing friend's near by activity & problem with synced data.

Done by Me and Vipul Save.
Task #93, #94