added comments for refreshButton stuff