Ezra is feeling hormonal and that is why he's rubbing himself on the perch. However, he's not looking to breed right now, and it doesn't look like your female is, either. The best thing to do is direct his attention elsewhere by providing lots of new and different toys and out of cage time to put his energy somewhere else. As for the female, having the nestbox in the cage will not help her.
You can't force budgies to breed, they do it when they're ready, and they obviously aren't right now.
As mentioned above, you need to take out the nestbox and read the links above to learn how to best throw her from the breeding mood
Best of luck!