Reproduce a bug in appcompat library where fragments get onCreateOptionsMenu callbacks in a detached state