set annotation.type when switching annotation.whattype