Miley Cyrus Replaces Demi Lovato on X Factor