save button in navigation

save and cancel button in navigation
cleaned code for progressbar