Some important things to consider before buying a laptop