Replace selectedAccountIndex ad selectedEntryIndex by reference to the selected objects.
Messageboxes for saving changes when a click on new profile or when closing the application.
Create, edit and delete interest rate entries.