Unnecessary code was removed

I removed unncessary code and tested it is working well with the android app.