Update style and enabled sorting button