added working flow button without ajax