Prime Minister Theresa May said that while Britain remains in the EU, it will continue to focus on security and furthering a single market.