ADDED BUTTON FUNCTIONALITY to take picture