delete redundant cell autoselection
change names of some constants
add debug mode for cell selection
correct cell selection by touch
remove unused methods and variables