Fixed rotate bug and changed location button