Transform links into buttons