small fix.. updates expression text when changing tab