button change in middle view