Change pageView when action performed

Transfer the context to ActionListener when it is constructed, the you
can use it when action is performed.