Stator and rectifier change on Triumph Street Triple 675 R 2012

Changed the stator and rectifier on my 2012 Triumph Street Triple 675 R. Also, at the same time, it was a good idea to replace the spark plugs and the air filter, too.The battery wasn't charging once the engine was warm therefore it would only fire up with a cold engine. This was my first time doing work on a motorbike. Some parts did take me longer than I expected. Once I've finished the bike, it started, but the revs were going up and down, so I knew something wasn't right. I did a trouble code reading, and it showed an issue with the MAP sensor. I knew that I must have done something wrong. The following day, I've started taking the airbox apart when I discovered that I forgot to reconnect the small hose back under the electrical connection by the air filter box. That solved the problem and the bike runs smoothly again. Hopefully this video will help someone who had the same issue. I know it's a very amateur work but still, I hope it helps someone.