Small fix

Added resultCode=resultCanceled check in ActivityResult; made consoles
more robust
Added back press check
Merge remote-tracking branch 'origin/master' into Release-version