Fixed page checkbox issue and highlighted the current tabs when link is specified