Added frequency changing to the UI