Arrange menu
Add ChkOpenDatabase
Error handling when database is not opened.