GUI working. Not able to open new window by clicking on View Database button