If you select the track you want to change and right click on it a dialogue box will open and near the bottom, you will see "Resampling/Timstretching" click on it. A new box will open that looks like this.
Change the algorithm from "Resample" to "Standard" now you will be able to change time or tempo without affecting pitch.