I have tried to enter the sensor thickness in the DRO (Z axis) on the front screen but it cancels out when i select the GOTO button.
No.
The macro is looking in the Gage Height DRO for the sensor thickness. If you don't have it entered there, it's not going to work.