Evolution of magnetic tunnel junction’s modes for different directions of an external magnetic field