Activities are now saved in db. Inserting data to database is absurdly
slow (3,5 min activity was being saved in 20s) I think it cant be that
slow and there has to be some mistake however I can't find it. If there
is no, then we have to do the saving in background. Geting the same data
from database works instantly.