fixed offerActionMode() per issue #1