For Track-Up mode to work, EV4 needs GPS to determine your track. Therefore you can only enable Track-Up mode when Flying Mode is enabled.