showing loading indicator; added menu buttons; sync-lock writing db-methods