Bug Fixed for NumberFormatException

Activity Force Closed when frequency was set to non-integer values.