bug resolved while adding instance to app via designer module

bug scinario: while adding instance to perticular app it is looking for relation if added in relationtype set if we keep blank this will give us error

solution: made optional relation to remove error
changes done in : custom_app_view.py