Changing strategy of accessing database.
Optimize user loading.

Fix: activities were not loaded in last commit.
Fix: sometimes freezing user interface when scroll to top of timeline by wheel.