Modifying menu to handle detail view