fix html
activity sort is now db-saved