Changed the system from using Camera API to use Intent instead