Change cursor depending on mode