Refactored background generation into UIHelper.getBackgroundImage()