* Move History and Memory context menus to ListViewItemContainer so users can open them with keyboards * replace static_cast by dynamic_cast
* Move History and Memory context menus to ListViewItemContainer so users can open them with keyboards * replace static_cast by dynamic_cast