Change switch to if because ids are not supported in android libraries
Changed app to a library by removing launcher and changing the build files