Fix for bug with frequency spinner