Defined conditions for buttons appearence