Replaced the buttons with actual buttons instead of <a>, hence fixing the style issue