improve cell selection and menu handling. close #261