Feature/detect cancel on android