src: fixed bug with regex to remove file postfix
src: fixed bugs with touch/click actions