Optimizing injection for the storage ring proton-EDM experiment