What should happen is straight forward. When lined up on the runway if you set a heading may be even RW heading after getting airborne it will change to RW TRK and at ACC ALT change to OP CLB. When you pull heading it will change to heading turn to preset heading.