Replaced code in Activity with ImageBuilder