maked actions on buttons