Saved activity into database