Make buttons work in iOS5