FIX: Clicking on pin/unpin would refresh the page