Bug fixes with servlet + android app