..F....... [ZBX-8896] fixed buttons not being disabled in the profile messaging tab, restored missing margin, some code refactoring