Added states for the third button