Local and global stability for the solutions of a nonlinear renewal equation