added a function to AppFacade
switched sharedpreferences into AppFacade
progressbar is centered