Fix bug #12 and open flash light successfully