Exit dialog complete
Refactor intent functions java and qt
Import button for exit dialog