fixing warnings on Android

build and lint warnings are fixed