Can decrease quantity on database

- change menu bar to be more appropriate
- fixed bugs