fix take picture button