Correcting usage of refresh value

- Refresh value is now a number from additionalParams object, removing the use of parseInt on it
- `handleConditions()` function updated to remove check of refresh being > 0