Changed min api from 10 to 7