Fix page action button style when method is put.