saves cat data in database instead of user preferences