Fixed problem with selected pills showing incorrectly
Tidied up if else statement
Select dosage export page partially complete
Max dosages for each dosage type are set based on your pills