add cursor changing in different modes