Trying to fix the sorting button problems

Attempting to reload the equation sorting buttons once an equation is
selected