added cursor shape change when in insert mode