Hide and Show buttons when (not) allowed