fixes button states on goal details pages