Removed deprecated methods.
Changed the method to generate random values on the Demo App