Moved code to generic activity. Now there is a global function to enable/disable a view. showProgressSpinner is now more generic and doesn't lock a screen