class ConfigurationContext extends GraphicalContext<BorderPane> {

    HomeButton createHomeButtonInConfigurationManagementScreen(@NonNull GazePlay gazePlay) {
        Dimension2D screenDimension = gazePlay.getCurrentScreenDimensionSupplier().get();
        HomeButton homeButton = new HomeButton(screenDimension);

        EventHandler<Event> homeEvent = e -> {
            if (e.getEventType() == MouseEvent.MOUSE_CLICKED) {
                root.setCursor(Cursor.WAIT); // Change cursor to wait style
                gazePlay.onReturnToMenu();
                root.setCursor(Cursor.DEFAULT); // Change cursor to default style
            }
        };

        homeButton.addEventHandler(MouseEvent.MOUSE_CLICKED, homeEvent);
        return homeButton;
    }

      ConfigurationContext(GazePlay gazePlay);

}