Defining actions: taking photos, handling photo list, displaying photos