Declare references at the beginning on the setSTKScreen function