added a check for last synced time. if greater than 30 minutes ago, it will be assumed to feeder has lost connection and the button will turn red. else, the button stays green