Retailer is prioritising investment after three of its past five financial years produced losses