I always find that when fitting new pads, it's best to take the top off the master cylinder and push the pistons right back into the caliper, refit the master cylinder top, and fit the new pads.....take care cos you will push fluid out of the lever
when you put it all back together a few pumps on the lever will set the pads.....as long as your caliper is aligned ok
hope that helps