Bug 887683: Cancel pick activity correctly while go to background.