5 things to check before buying a smartphone