Fix selected menu bug with history

Signed-off-by: Matt White <matthew.white@fclonline.com>