Move reusable init code to functions
Add a notification wiew for success/error message + buttons to loop in the process