Implemented settings dialog.