updated to allow custom color and stop icon toggle