Reorganize onLongClick, remove array, and fix NPE

Change-Id: I9a3cd4fea0bbac1056ccf793946b26e13865bd5e
Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>