Fixed medication delete save problem. Added "restore" button and cleanup.