Improve camera button functionality