Hi Jasem, I'm no programmer so I doubt what I did to implement this is the right way but the two files I changed as follows...

/ekos/capture/capture.h
public slots:
Q_SCRIPTABLE Q_NOREPLY void pause(); // changed this line
Q_SCRIPTABLE Q_NOREPLY void toggleSequence(); // added this line

private slots:
// removed this line void toggleSequence();

org.kde.kstars.Ekos.Capture.xml
// added these lines
<method name="pause">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
</method>
<method name="toggleSequence">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
</method>

Read More...