changed stuff in the menu. updated writing to DB