added loop function and button, put light color in a box instead of whole list item