The application (Android and IOS) allows users to search and select Canadian medication or use a written prescription to order drugs in the online drug store. Our task was to conduct refactoring. The application began to work faster and more stable. Then we began to implement new functionality and complicate the logic.