changed the layout of expenses window; added commit-button and linked to the newly implemented commit method