Added flush core data to reset button action