Katy Perry recharged at retreat after Witness album flop