Fixed a crash in onHeaderClick on api<11 devices.