Added output format button text dynamics according to chosen formats, and corrected issue where selected formats were not persistent