Fix N7 wrong contextual menu. Refactor the code in a proper class, in the meantime