changed buttons order