Cleaned up Checkbook. Fixed a bug that closed dialogs on rotate