Added actions on the butons and modal
Starting the settings