1D and Rihanna also loved Miley's performance