fix the crash when click main activity items