fixed UI bugs: unclickable edit button, disappearing goal on edit