Added near field mode button

. We now can turn near field mode on and off at run time