Updated Refresh button and close tab buttons and some minor bug fixes
removed saveBg Function