Cleaned up the mixture addition page in preparation for writing to indexeddb