Setting application context attributes