Added color coding to buttons to indicate closeness