Fixed tabs to use ternary operator in edit profiles