Associating a role with a membership level

I have created membership level called ‘Level2’ in the membership levels. I want a member with a that membership level to be granted the role ‘author’ so I have added that role to the associated membership in the advanced levels tab.

When I add a member to that level I expected the role for that member to change but it isn’t.

What might be the issue?