diff --git a/core/src/cz/nic/tablexia/menu/user/UserMenu.java b/core/src/cz/nic/tablexia/menu/user/UserMenu.java
index 9ee96cd1893da70c4a982478fb7ad6567a23cd83..35b72f66ae2a62b03c82f993b52bdcc8c295cc1d 100644
--- a/core/src/cz/nic/tablexia/menu/user/UserMenu.java
+++ b/core/src/cz/nic/tablexia/menu/user/UserMenu.java
@@ -188,27 +188,7 @@ public class UserMenu extends AbstractMenu {
                 @Override
                 public void performAction() {
                     // TODO: 16.3.16 add proper text to info dialog
-                    TablexiaComponentDialogFactory.getInstance().createDialog(
-                            new ResizableSpaceContentDialogComponent(),
-                            new TextContentDialogComponent(ApplicationTextManager.getInstance().getText(ApplicationTextManager.ApplicationTextsAssets.SYNC_QR_REQUEST_INFO_DIALOG_TEXT)),
-                            new ResizableSpaceContentDialogComponent(),
-                            new TwoButtonContentDialogComponent(ApplicationTextManager.getInstance().getText(ApplicationTextManager.ApplicationTextsAssets.SYSTEM_BACK),
-                                    ApplicationTextManager.getInstance().getText(ApplicationTextManager.ApplicationTextsAssets.SYSTEM_PROCEED),
-                                    StandardTablexiaButton.TablexiaButtonType.RED, StandardTablexiaButton.TablexiaButtonType.GREEN, new ClickListener(),
-                                    new ClickListener() {
-                                        @Override
-                                        public void clicked(InputEvent event, float x, float y) {
-                                            super.clicked(event, x, y);
-                                            ApplicationBus.getInstance().post(new MenuControlEvent(UserMenu.class, MenuAction.HIDE, true)).asynchronously();
-                                            ApplicationBus.getInstance().post(new Tablexia.ChangeScreenEvent(CameraScreen.class, TablexiaApplication.ScreenTransaction.MOVE_UP)).asynchronously();
-                                        }
-                                    }),
-                            new AlertOnShowDialogComponent(),
-                            new AdaptiveSizeDialogComponent(),
-                            new CenterPositionDialogComponent(),
-                            new DimmerDialogComponent(),
-                            new BackButtonHideComponent()
-                    ).show(SYNC_REQUEST_DIALOG_WIDTH, SYNC_REQUEST_DIALOG_HEIGHT);
+                    showSyncQrDialog();
                 }
                 @Override
                 public User getUser() {
@@ -348,6 +328,33 @@ public class UserMenu extends AbstractMenu {
             }
         });
     }
+    
+    private void showSyncQrDialog(){
+        TablexiaComponentDialogFactory.getInstance().createDialog(
+                new CenterPositionDialogComponent(),
+                new DimmerDialogComponent(),
+                new ViewportMaximumSizeComponent(),
+                new AdaptiveSizeDialogComponent(),
+                new ResizableSpaceContentDialogComponent(),
+                new TextContentDialogComponent(ApplicationTextManager.getInstance().getText(ApplicationTextManager.ApplicationTextsAssets.SYNC_QR_REQUEST_INFO_DIALOG_TEXT)),
+                new ResizableSpaceContentDialogComponent(),
+                new TwoButtonContentDialogComponent(ApplicationTextManager.getInstance().getText(ApplicationTextManager.ApplicationTextsAssets.SYSTEM_BACK),
+                        ApplicationTextManager.getInstance().getText(ApplicationTextManager.ApplicationTextsAssets.SYSTEM_PROCEED),
+                        StandardTablexiaButton.TablexiaButtonType.RED, StandardTablexiaButton.TablexiaButtonType.GREEN, null,
+                        new ClickListener() {
+                            @Override
+                            public void clicked(InputEvent event, float x, float y) {
+                                super.clicked(event, x, y);
+                                ApplicationBus.getInstance().post(new MenuControlEvent(UserMenu.class, MenuAction.HIDE, true)).asynchronously();
+                                ApplicationBus.getInstance().post(new Tablexia.ChangeScreenEvent(CameraScreen.class, TablexiaApplication.ScreenTransaction.MOVE_UP)).asynchronously();
+                            }
+                        }),
+                new AlertOnShowDialogComponent(),
+                new AdaptiveSizeDialogComponent(),
+                new CenterPositionDialogComponent(),
+                new BackButtonHideComponent()
+        ).show(SYNC_REQUEST_DIALOG_WIDTH, SYNC_REQUEST_DIALOG_HEIGHT);
+    }
 
     @Override
     public void dispose() {