fixes some errors. remove compatiblity with android prior to 4.0. allow to
cancel reader.